cssnode: Loosen requirements for style caching
authorBenjamin Otte <otte@redhat.com>
Wed, 26 Aug 2015 16:01:39 +0000 (18:01 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 27 Aug 2015 15:21:59 +0000 (17:21 +0200)
commitf1ca75d1812f95690f2bba7445ad6803b58d4780
tree521311459cfd43e02b76da8b06a6fccab6c32368
parent2080e7318c86dd19e79fa7417c5c1698a8d687bd
cssnode: Loosen requirements for style caching

We can actually share :first-child/:last-child related things now,
because we special case them. So the only positions we cannot cache are
nth-child/nth-last-child.

This should take care of a lot of Adwaita's styling.
gtk/gtkcssnode.c